local awful = require("awful")
local menubar = require("menubar")

local ass = awful.spawn
local aus = awful.util.spawn

-- local hotkeys_popup = require("awful.hotkeys_popup")
-- require("awful.hotkeys_popup.keys")

return {
    -- {{M}, "s",      hotkeys_popup.show_help},
    {{M}, "Left",   awful.tag.viewprev},
    {{M}, "Right",  awful.tag.viewnext},
    {{M}, "Escape", awful.tag.history.restore},
    {{M}, "j", function () awful.client.focus.byidx( 1) end},
    {{M}, "k", function () awful.client.focus.byidx(-1) end},
    {{M}, "w", function () mymainmenu:show() end},
    {{M, S}, "q", function ()  end},
    {{M, C}, "r", awesome.restart},
    {{C, M1}, "l", function() ass(LOCKER) end},
    {{M}, "r", function() awful.screen.focused().mypromptbox:run() end},
    {{M}, "p", function() menubar.show() end}
}
